using System;
namespace Net35.Xrm.Sdk
{
	public sealed class SaveChangesResult
	{
		public OrganizationRequest Request
		{
			get;
			private set;
		}
		public OrganizationResponse Response
		{
			get;
			private set;
		}
		public Exception Error
		{
			get;
			private set;
		}
		internal SaveChangesResult(OrganizationRequest request, OrganizationResponse response)
		{
			this.Request = request;
			this.Response = response;
		}
		internal SaveChangesResult(OrganizationRequest request, Exception error)
		{
			this.Request = request;
			this.Error = error;
		}
	}
}
